Skip to content

fix(suggest): never autocorrect a typed word to an emoji - #931

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/no-emoji-autocorrect
Nov 26, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/no-emoji-autocorrect

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

A user reported being mostly auto-corrected to emojis (not reproduced on a device; their log shows failed dictionary downloads but no typed words).

Cause found in code: the emoji dictionary is part of the main dictionary collection, so a language with only the emoji dictionary counts as having a main dictionary. Auto-correct stays on and emojis can be the only candidates.

Fix: reject emoji auto-corrections, except exact personal dictionary shortcuts.

Verification: the new test failed before the fix; all of SuggestTest passes after it.

https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk

The emoji dictionary is part of the main dictionary collection, so a
language with no word list still counts as having a main dictionary and
auto-correct stays on, with emojis as possibly the only candidates.
Exact personal dictionary shortcuts to an emoji still apply.

Claude-Session: https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk
@LeanBitLab
LeanBitLab merged commit e0e7bb2 into main Nov 26, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/no-emoji-autocorrect branch November 26, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant